Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add zsh-completion #1213

Merged
merged 4 commits into from
Aug 25, 2024
Merged

feat: add zsh-completion #1213

merged 4 commits into from
Aug 25, 2024

Conversation

AtifChy
Copy link
Contributor

@AtifChy AtifChy commented Aug 25, 2024

#1197

This pull request introduces completion for zsh. I've customized the python script originally used to generate fish shell completion to generate zsh completion.

@CarterLi
Copy link
Member

How can I test it?

@AtifChy
Copy link
Contributor Author

AtifChy commented Aug 25, 2024

How can I test it?

fpath=(repos/fastfetch/completions $fpath)

you may need to also run autoload -Uz compinit && compinit

then run fastfetch <TAB>

@CarterLi
Copy link
Member

@AtifChy
Copy link
Contributor Author

AtifChy commented Aug 25, 2024

  • _fastfetch should be renamed to fastfetch.zsh

but this is how zsh completion files are named

@CarterLi
Copy link
Member

The file can be renamed when installing

@AtifChy
Copy link
Contributor Author

AtifChy commented Aug 25, 2024

done

@CarterLi CarterLi merged commit 773b8db into fastfetch-cli:dev Aug 25, 2024
13 checks passed
@CarterLi
Copy link
Member

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants